package cn.com.jonpad.elasticsearch.entity;

import io.searchbox.annotations.JestId;
import lombok.Data;

@Data
public class Article {
	String title;
	String content;
	String author;
	@JestId
	Integer id;

	public Article() {
	}

	public Article(String title, String content, String author, Integer id) {
		this.title = title;
		this.content = content;
		this.author = author;
		this.id = id;
	}
}
